package com.smart.manager.pop.entities.views;

import com.smart.common.entities.core.BaseView;
import com.smart.manager.pop.entities.enums.HdState;
import io.ebean.annotation.View;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 会员系统-会员资料
 *
 * @author Administrator
 * @TableName system_module
 */
@Data
@Entity
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@View(name = "pop_activity_main")
public class ActivityMainView extends BaseView {

    @ApiModelProperty("活动编号")
    @Id
    private Long id;


    @ApiModelProperty(value = "活动标题")
    private String title;



    @ApiModelProperty(value = "活动状态")
    private HdState state;


}
